import request from '@/utils/request'

// 查询VA提款转载列表
export function listWithdraw(query) {
  return request({
    url: '/va/withdraw/list',
    method: 'get',
    params: query
  })
}

// 查询VA提款转载详细
export function getWithdraw(id) {
  return request({
    url: '/va/withdraw/' + id,
    method: 'get'
  })
}

// 新增VA提款转载
export function addWithdraw(data) {
  return request({
    url: '/va/withdraw',
    method: 'post',
    data: data
  })
}

// 修改VA提款转载
export function updateWithdraw(data) {
  return request({
    url: '/va/withdraw',
    method: 'put',
    data: data
  })
}

// 删除VA提款转载
export function delWithdraw(id) {
  return request({
    url: '/va/withdraw/' + id,
    method: 'delete'
  })
}
